﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>上海万息智能网络科技有限公司</title>
<link href="css.css" rel="stylesheet" type="text/css" />
</head>
<?php include_once 'top.php';?>
<table width="960" border="0" cellpadding="0" cellspacing="0" class="middle_all" style="margin-top:10px;">
  <tr>
    <td width="210" valign="top"><table width="210" border="0" cellpadding="0" cellspacing="0" class="about_m">
      <tr>
        <td width="10"><img src="images/ico1.jpg" width="4" height="12" /></td>
        <td>公司简介<span class="tt_gary">About Us</span></td>
        <td width="10" align="center"><a href="about.php"><img src="images/ico3.jpg" width="6" height="6" /></a></td>
      </tr>
    </table>
      <table width="210" border="0" cellpadding="0" cellspacing="0" class="about_bg">
        <tr>
          <td height="175" align="left" valign="top"><img src="images/about_small.jpg" width="80" height="53" style=" float:left; margin-right:10px;"/> 　　上海万息智能网络科技有限公司是专业开发生产CATV、邮电、电力、广播系统设备器材及铁制附件，以CATV、卫星闭路、监控报警系统工程设计、施工为主体并设有器材设备生产的专业单位...</td>
        </tr>
    </table></td>
    <td width="10">&nbsp;</td>
    <td valign="top"><table width="410" border="0" cellpadding="0" cellspacing="0" class="pro_m">
      <tr>
        <td width="10"><img src="images/ico1.jpg" width="4" height="12" /></td>
        <td>产品推荐<span class="tt_gary">Products</span></td>
        <td width="10" align="center"><a href="products.php"><img src="images/ico3.jpg" width="6" height="6" /></a></td>
      </tr>
    </table>
      <table width="410" border="0" cellpadding="0" cellspacing="0" class="pro_con">
        <tr>
          <td width="20" align="left"><img src="images/cp_left.jpg" width="15" height="109" /></td>
          <td align="center" valign="middle"><div id="roll_lr" style="overflow:hidden; width:362px;">
      <table width="362" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td id="roll_lr1"><?
$url="productsils.php"; //定义显示详情页面地址
$top=0; //定义从数据第几条读取
$end=3; //定义读取条数
$ClassID=""; //定义显示类别id显示全部请填空
$fornum=3; //定义每行显示数量
include("include/productsd.php");
?></td>
          <td id="roll_lr2"></td>
        </tr>
      </table>
</div>


<script language="javascript" type="text/javascript">

    var roll_lr = document.getElementById("roll_lr");
    var roll_lr1 = document.getElementById("roll_lr1");
    var roll_lr2 = document.getElementById("roll_lr2");
    var speedLR=30;//数值越大滚动速度越慢
    
    roll_lr2.innerHTML=roll_lr1.innerHTML
    roll_lr.scrollLeft=roll_lr.scrollWidth
    
    //向左
    function MarqueeLR(){
        if(roll_lr2.offsetWidth-roll_lr.scrollLeft<=0)
            roll_lr.scrollLeft-=roll_lr1.offsetWidth
        else{
            roll_lr.scrollLeft++
        }
    }
    /*
    //向右
    function MarqueeLR(){
        if(roll_lr.scrollLeft<=0)
        roll_lr.scrollLeft+=roll_lr2.offsetWidth
        else{
            roll_lr.scrollLeft--
        }
    }
    */

    var MyMarLR=setInterval(MarqueeLR,speedLR)
    roll_lr.onmouseover=function() {clearInterval(MyMarLR)}
    roll_lr.onmouseout=function() {MyMarLR=setInterval(MarqueeLR,speedLR)}
</script></td>
          <td width="21" align="right"><img src="images/cp_right.jpg" width="21" height="109" /></td>
        </tr>
    </table>
      <table width="410" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="82" height="80"><img src="images/search1.jpg" width="78" height="51" /></td>
          <td><form id="form1" name="form1" method="post" action="products.php">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="30"><span class="Right_td">
                  <select name="ClassID" id="ClassID">
                    <option value="">请选择类型</option>
                    <?   
             $SQL="SELECT * FROM Netsys_Product_Class order by ClassOrder Asc";
             $query=mysql_query($SQL);
			 $num=mysql_num_rows($query);
			 if($num!=0){
             while($row=mysql_fetch_array($query)){
        ?>
                    <option value="<? echo $row['ClassID'];?>"><? echo $row['ClassName'];?></option>
                    <?
  }
  }
  else
  {
?>
                    <option value="暂无分类">暂无分类</option>
                    <?
}
?>
                  </select>
                </span></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="220" height="30"><input name="KeyWord" type="text" id="KeyWord" style="width:210px;" /></td>
                <td><input  name="button" type="image" id="button" value="提交" src="images/search2.jpg" /></td>
              </tr>
            </table>
          </form>          </td>
        </tr>
    </table></td>
    <td width="10">&nbsp;</td>
    <td width="320" valign="top"><table width="320" border="0" cellpadding="0" cellspacing="0" class="news_m">
      <tr>
        <td width="26" align="center"><img src="images/ico1.jpg" width="4" height="12" /></td>
        <td width="284">新闻中心<span class="tt_gary">News Center</span></td>
        <td width="10" align="center"><a href="News.php"><img src="images/ico3.jpg" width="6" height="6" border="0" /></a></td>
      </tr>
    </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="90" height="80"><img src="images/news.jpg" width="85" height="61" /></td>
          <td>
<?php
$sql="SELECT * FROM Netsys_News order by NID desc limit 0,1";
$result=mysql_query($sql);
$aa=mysql_num_rows($result);
if($aa!=0){
$row=mysql_fetch_array($result);
?>
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="10"><img src="images/ico4.jpg" width="4" height="8" /></td>
              <td align="left" class="blue"><a href="NewsDetails.php?NID=<? echo $row['NID'];?>"><?php echo cutstr( $row['NTitle'],38);echo ("...");?></a></td>
            </tr>
          </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td class="gary"><?php echo cutstr( $row['NTitle'],380);echo ("...");?>... </td>
              </tr>
          </table>
<?php
}
?>
		  </td>
        </tr>
    </table>
      <?
$url="NewsDetails.php"; //定义显示新闻详情页面地
$top=0; //定义从数据第几条读取
$end=4; //定义读取条数
$suma=38; //定义显示字数
$ClassID=3; //定义显示新闻类别id显示全部请填空
include("include/Newsd.php");
?></td>
  </tr>
</table><?php include("foot.php"); ?>
